<!DOCTYPE html>
<html lang="zh">

	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>title</title>
	</head>

	<body>
		<ul id="list">
			
		</ul>
		<script type="text/javascript">
			var num=1;
			var list = document.querySelector('#list');
			
			function createNode (i) {
				var li = document.createElement('li');
				var a= document.createElement('a');
				a.href='http://www.wenku365.com/fileroot1/2018-3/12/e106ad8f-9aad-4dfb-8ba5-d474cb746633/e106ad8f-9aad-4dfb-8ba5-d474cb746633'+i+'.gif'
				a.innerText=i+'.gif';
				a.setAttribute('download','ciia-'+i+'.gif');
				li.appendChild(a);
				return li;
			}
			for(;num<40;num++){
				var n = createNode(num);
				list.appendChild(n);
			}
		</script>
	</body>

</html>